#! /bin/bash

project_path=/home/yukikaze/noneBot/yukikaze/src/plugins
plug_path=/home/yukikaze/workspace/plugins/none-bot_py_plugins
plug_name=none_bot_py_plugins
git pull origin master

rm -rf ${project_path}/${plug_name}
echo "delete ${project_path}/${plug_name}"
mkdir ${project_path}/${plug_name}
echo "create ${project_path}/${plug_name}"
cp -rf ${plug_path}/${plug_name}/* ${project_path}/${plug_name}/
echo "cp from ${plug_path}/src/* to ${project_path}/${plug_name}/"
